package com.hkyp.ss.course.provider.repository.mediate;

import com.hkyp.ss.course.provider.model.mediate.UserCommLike;
import com.hkyp.ss.course.provider.repository.baseRepository.BaseRepository;

import java.util.List;
import java.util.Set;

public interface UserCommLikeRepository extends BaseRepository<UserCommLike,Long> {

    UserCommLike findByUserIdAndCommId(Long userId, Long commId);

    List<UserCommLike> findAllByUserIdAndCommIdInAndType(Long userId, Set<Long> commId, Integer type);

}